<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加笔记</title>
</head>
<body>
<h2>我的工作笔记</h2>
<form id="userForm" name="userForm" method="post"
      action="${pageContext.request.contextPath }/add.html" enctype="multipart/form-data">
    <input type="hidden" name="method" value="add">
    <!--div的class 为error是验证错误，ok是验证成功-->
    <div>
        <label for="title">标题：</label>
        <input type="text" name="title" id="title" value="">
        <font color="red"></font>
    </div>
    <div>
        <label for="content">内容：</label>
        <input type="text" name="content" id="content" value="">
        <font color="red"></font>
    </div>
    <div>
        <label >类别：</label>
        <select name="type" id="type">
            <option value="1">技术</option>
            <option value="2">行政</option>
            <option value="3">人事</option>
        </select>
    </div>
    <div class="providerAddBtn">
        <input type="submit" name="add" id="add" value="保存" >
        <input type="button" id="back" name="back" value="返回" >
    </div>
</form>
</body>
</html>
